import request from '@/config/request'

/**
 * 获得动态线程池基本配置信息
 */
export const getDynamicThreadPoolInfo = () => {
  return request.get({
    url: '/infra/dynamic-thread-pool/info'
  })
}

/**
 * 修改动态线程池基本配置信息
 */
export const modifyDynamicThreadPool = (data: any) => {
  return request.put({
    url: '/infra/dynamic-thread-pool/modify',
    data
  })
}
